package com.zipking.cloud.springbootmybatis.redisson;

import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@Slf4j
public class OrderPaymentTimeout implements RedisDelayQueueHandle {
    @Override
    public void execute(Object o) {
         log.info("消费成功:{}", JSON.toJSONString(o));
    }
}
